//
//  MenuDataManager.h
//  NOAHWM
//
//  Created by Ryan on 13-6-14.
//  Copyright (c) 2013年 Ryan. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "NYMenu.h"
#import "NYElement.h"

#define kGetMenuSucceedNotification @"GetMenuSucceedNotification"
#define kGetMenuErrorNotification   @"GetMenuErrorNotification"
#define kSynMenuSucceedNotification @"SynMenuSucceedNotification"
#define kSynMenuErrorNotification   @"SynMenuErrorNotification"

@interface MenuDataManager : NSObject

@property (nonatomic, retain) NSMutableArray *editMenu;
@property (nonatomic, retain) NSMutableArray *leftMenu;
@property (nonatomic, retain) NSMutableArray *rightMenu;
@property (nonatomic, retain) NSMutableArray *elements;

@property (nonatomic, copy) NSString *uid;

+ (MenuDataManager *)sharedManager;
- (void)callServerToGetMenuList:(NSString *)accountId;
- (void)synthesizeMenuListToServer:(NSString *)accountId
                            funcId:(NSString *)funcId
                            newSeq:(NSString *)newSeq;
@end
